package com.toilet.easyvideo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @TableName check_file
 */
@TableName(value = "check_file")
@Data
public class CheckFile implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 主键id,配置自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * md5检验值
     */
    @TableField(value = "check_md5")
    private String checkMd5;

    /**
     * 文件片序号
     */
    @TableField(value = "check_index")
    private Long checkIndex;

}